package com.ctg.auth.dao;

import com.ctg.auth.bean.Permisssion;
import com.ctg.auth.bean.PermisssionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PermisssionMapper {
    int countByExample(PermisssionExample example);

    int deleteByExample(PermisssionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Permisssion record);

    int insertSelective(Permisssion record);

    List<Permisssion> selectByExample(PermisssionExample example);

    Permisssion selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Permisssion record, @Param("example") PermisssionExample example);

    int updateByExample(@Param("record") Permisssion record, @Param("example") PermisssionExample example);

    int updateByPrimaryKeySelective(Permisssion record);

    int updateByPrimaryKey(Permisssion record);
}